package com.kuang.controller;

import com.kuang.service.*;
import com.kuang.pojo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import sun.lwawt.macosx.CPrinterDevice;

import java.util.List;

@Controller
@RequestMapping("/root")
public class RootController {
    @Autowired
    @Qualifier("StudentServiceImpl")
    private StudentService studentService;

    @Autowired
    @Qualifier("TeacherServiceImpl")
    private TeacherService teacherService;

    @RequestMapping("/rootIndex")
    public String rootIndex(){
        return "rootIndex";
    }


}
